package com.ecoolex.ying.space.core.mapper;

import com.ecoolex.framework.common.annotation.Description;
import com.ecoolex.ying.space.entity.EstateProjectActivityGoodsCategory;
import com.ecoolex.ying.space.entity.EstateProjectActivityGoodsCategoryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.lang.NonNull;

public interface EstateProjectActivityGoodsCategoryMapper {
    long countByExample(EstateProjectActivityGoodsCategoryExample example);

    int deleteByExample(EstateProjectActivityGoodsCategoryExample example);

    int deleteByPrimaryKey(Integer activityCategoryId);

    int insert(EstateProjectActivityGoodsCategory record);

    int insertSelective(@Param("record") EstateProjectActivityGoodsCategory record, @Param("selective") EstateProjectActivityGoodsCategory.Column ... selective);

    EstateProjectActivityGoodsCategory selectOneByExample(EstateProjectActivityGoodsCategoryExample example);

    List<EstateProjectActivityGoodsCategory> selectByExample(EstateProjectActivityGoodsCategoryExample example);

    EstateProjectActivityGoodsCategory selectByPrimaryKey(Integer activityCategoryId);

    EstateProjectActivityGoodsCategory selectByPrimaryKeyWithLogicalDelete(@Param("activityCategoryId") Integer activityCategoryId, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    int updateByExampleSelective(@Param("record") EstateProjectActivityGoodsCategory record, @Param("example") EstateProjectActivityGoodsCategoryExample example, @Param("selective") EstateProjectActivityGoodsCategory.Column ... selective);

    int updateByExample(@Param("record") EstateProjectActivityGoodsCategory record, @Param("example") EstateProjectActivityGoodsCategoryExample example);

    int updateByPrimaryKeySelective(@Param("record") EstateProjectActivityGoodsCategory record, @Param("selective") EstateProjectActivityGoodsCategory.Column ... selective);

    int updateByPrimaryKey(EstateProjectActivityGoodsCategory record);

    int batchInsert(@Param("list") List<EstateProjectActivityGoodsCategory> list);

    int batchInsertSelective(@Param("list") List<EstateProjectActivityGoodsCategory> list, @Param("selective") EstateProjectActivityGoodsCategory.Column ... selective);

    int logicalDeleteByExample(@Param("example") EstateProjectActivityGoodsCategoryExample example);

    int logicalDeleteByPrimaryKey(Integer activityCategoryId);
}